/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dbclass;

/**
 *
 * @author Neno
 */
public class DBClass implements dbInterface{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        
        DBClass dbc = new DBClass();
        dbc.connect("address", "username", "password");
        dbc.disconnect();
        dbc.getName(2);
        dbc.isConnect();
        
        
    }
    @Override
    public boolean connect(String address, String userName, String passWord){
        System.out.println("You have been connceted");
        return true;
    }
    @Override
    public void disconnect() {
        System.out.println("You have been DC'ed");
        
    }
    @Override
    public boolean isConnect() {
        System.out.println("Its connected");
        return true;
    }
    @Override
    public String getName(int id) {
        System.out.println("Your name is: LOL");
        return "LOL";
    }
}
